//automatic code generation
package com.aolong.archives.core.sysmanage.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.rock.platform.entity.BaseEntity;


@Entity
@Table(name="TSM_RoleUser")
public class RoleUserEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Id
    private String roleUserId;
    private String roleId;
    private String userId;
    
    @Column(insertable = false, updatable = false)
    private String userCode;
    
    @Column(insertable = false, updatable = false)
    private String userName;
    
    @Column(insertable = false, updatable = false)
    private String userNameEn;
    
    @Transient
    private String userNameLocale;
    
    @Column(insertable = false, updatable = false)
    private String roleCode;
    
    @Column(insertable = false, updatable = false)
    private String roleName;
    
    @Column(insertable = false, updatable = false)
    private String roleNameEn;
    
    @Transient
    private String roleNameLocale;
    
    public String getRoleUserId() {
        return roleUserId;
    }
    public void setRoleUserId(String roleUserId) {
        this.roleUserId=roleUserId;
    }
    public String getRoleId() {
        return roleId;
    }
    public void setRoleId(String roleId) {
        this.roleId=roleId;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId=userId;
    }
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserNameEn() {
		return userNameEn;
	}
	public void setUserNameEn(String userNameEn) {
		this.userNameEn = userNameEn;
	}
	public String getUserNameLocale() {
		return userNameLocale;
	}
	public void setUserNameLocale(String userNameLocale) {
		this.userNameLocale = userNameLocale;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRoleNameEn() {
		return roleNameEn;
	}
	public void setRoleNameEn(String roleNameEn) {
		this.roleNameEn = roleNameEn;
	}
	public String getRoleNameLocale() {
		return roleNameLocale;
	}
	public void setRoleNameLocale(String roleNameLocale) {
		this.roleNameLocale = roleNameLocale;
	}
}